﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.CYT369.Com.DAL.Domains
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department : BaseObject<int>
    {
        /// <summary>
        /// 上级ID
        /// </summary>
        public int ParentID { get; set; }

        /// <summary>
        /// 组织机构ID
        /// </summary>
        public int OrgID { get; set; }

        /// <summary>
        /// 部门类型
        /// </summary>
        public int DepartmentType { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 简称
        /// </summary>
        public string ShortName { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 邮件
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        public string PostCode { get; set; }


        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enable { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public decimal? Longitude { get; set; }

        /// <summary>
        /// 维度
        /// </summary>
        public decimal? Latitude { get; set; }

        /// <summary>
        /// 职责、备注
        /// </summary>
        public string Comment { get; set; }
    }
}
